html,
body {
    height: 100%;
}

body {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
}

header {
    position: absolute;
    top: 0;
    z-index: 1;
}

header li {
    display: inline-block;
    position: relative;
    right: 400px;
}

header li {
    display: inline-block;
    line-height: 35px;
    font-size: 13px;
    color: #ddd;
    margin: 0 18px;
}

header li a {
    color: #ddd;
    text-decoration: none;
}

header li a:hover {
    color: #fff;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 35px;
    background-color: #333;
    z-index: 1;
}

footer li {
    display: inline-block;
    line-height: 35px;
    font-size: 13px;
    color: #666;
    position: relative;
    left: 500px;
}

footer li a {
    color: #666;
    text-decoration: none;
}

footer li a:hover {
    color: #9a9a9a;
}

main {
    display: flex;
    align-items: center;
    position: absolute;
    top: 180px;
    left: 110px;
    z-index: 1;
}

span {
    width: 134px;
    height: 53px;
    background-image: url(hpc20.png);
}

input {
    width: 540px;
    height: 41px;
    font-size: 28px;
}

button {
    height: 49px;
    width: 49px;
    border: 8px solid #007daa;
    background-color: #007daa;
    background-image: url(hpc20.png);
    background-position: -169px -61px;
}

div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0;
    transition: all 0.5s;
}
